package com.mtsmda.chapter2.staticEx;

public class Frog {

	private static Integer frogCount = 0;

	public Frog() {
		frogCount++;
	}

	public static Integer getFrogCount() {
		System.out.println(frogCount);
		return frogCount;
	}

}